package search.service.Impl;


import commons.vo.LivegoodsResult;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import search.dao.ArticleDao;
import search.pojo.Article;
import search.service.ArticleService;

import java.util.List;

@Service
public class ArticleServiceImpl implements ArticleService {
    @Autowired
    private ArticleDao articleDao;

    @Override
    public LivegoodsResult search(String word, int page, int rows) {
        return articleDao.queryForPage(word, page, rows);

    }
}
